package com.chpc.edeal.services.impl;

import java.util.Set;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.chpc.edeal.dao.CategoryDao;
import com.chpc.edeal.services.CategoryHandler;
import com.chpc.edeal.vo.Category;

@Service
public class CategoryHandlerImpl implements CategoryHandler{
	@Autowired
	private CategoryDao categoryDao;
	

	public boolean addCategory(Category categoryVo) {
		
		return categoryDao.addCategory(categoryVo);
	}

	public Set<com.chpc.edeal.model.Category> getCategorys() {
		// TODO Auto-generated method stub
		return null;
	}

	public com.chpc.edeal.model.Category getCategory(int id) {
		// TODO Auto-generated method stub
		return null;
	}

	public CategoryDao getCategoryDao() {
		return categoryDao;
	}

	public void setCategoryDao(CategoryDao categoryDao) {
		this.categoryDao = categoryDao;
	}

}
